package com.rh.feign;

import com.rh.result.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "service-ucenter",fallback = UcenterFeignServiceImpl.class)
public interface UcenterFeignService {
    /**
     * 查询某一天的注册人数
     */
    @GetMapping("/educenter/member/countRegister/{day}")
    public ResultVo countRegister(@PathVariable("day") String day);
}
